2.0
LOW CVSS 4.0
CVE-2026-4360
Tarfile.extract() doesn't fully respect filter parameter
Description

In the Tarfile.extract() function, the filter parameter is not passed properly when extracting hardlinks. An affected system that extracts content from untrusted tar files could end up writing files with an unexpected uid/gid despite the user passing filter='data' to the extract() function.

INFO

Published Date :

June 30, 2026, 2:45 p.m.

Last Modified :

June 30, 2026, 2:45 p.m.

Remotely Exploit :

Yes !

Source :

PSF
Affected Products

The following products are affected by CVE-2026-4360 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Python_software_foundation cpython
1 Python cpython
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 4.0 LOW 28c92f92-d60d-412d-b760-e73465c3df22
CVSS 4.0 LOW [email protected]
Solution
Update the tarfile library to a version that properly handles hardlink extraction filters.
  • Update the tarfile library to the latest secure version.
  • Verify tarfile extraction processes adhere to security guidelines.
  • Review code for proper filter parameter usage.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-4360 vulnerability anywhere in the article.

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.